QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    FriendInfoWindow.cpp \
    aboutdimwindow.cpp \
    addfeedwindow.cpp \
    addgroupnotice.cpp \
    addwindow.cpp \
    aichatwindow.cpp \
    attendstatus.cpp \
    creategroupwindow.cpp \
    custompushbutton.cpp \
    customtextedit.cpp \
    feeditem.cpp \
    forgetpwdwindow.cpp \
    framelesswindow.cpp \
    gifthread.cpp \
    groupchatwindow.cpp \
    groupfileitem.cpp \
    groupinfowindow.cpp \
    groupmemberitem.cpp \
    groupnoticeitem.cpp \
    loginwindow.cpp \
    main.cpp \
    mainui.cpp \
    modifyinfowindow.cpp \
    modifypwdwindow.cpp \
    mylistwidgetitem.cpp \
    myqqfacewindow.cpp \
    mytablewidgetitem.cpp \
    mytcpsocket.cpp \
    mytreewidgetitem.cpp \
    noticeitem.cpp \
    noticewindow.cpp \
    pllistwindow.cpp \
    privatechatwindow.cpp \
    publicstruct.cpp \
    pyqwindow.cpp \
    registerwindow.cpp \
    widget.cpp

HEADERS += \
    FriendInfoWindow.h \
    aboutdimwindow.h \
    addfeedwindow.h \
    addgroupnotice.h \
    addwindow.h \
    aichatwindow.h \
    attendstatus.h \
    creategroupwindow.h \
    custompushbutton.h \
    customtextedit.h \
    feeditem.h \
    forgetpwdwindow.h \
    framelesswindow.h \
    gifthread.h \
    groupchatwindow.h \
    groupfileitem.h \
    groupinfowindow.h \
    groupmemberitem.h \
    groupnoticeitem.h \
    loginwindow.h \
    mainui.h \
    modifyinfowindow.h \
    modifypwdwindow.h \
    mylistwidgetitem.h \
    myqqfacewindow.h \
    mytablewidgetitem.h \
    mytcpsocket.h \
    mytreewidgetitem.h \
    noticeitem.h \
    noticewindow.h \
    pllistwindow.h \
    privatechatwindow.h \
    publicstruct.h \
    pyqwindow.h \
    registerwindow.h \
    widget.h

FORMS += \
    FriendInfoWindow.ui \
    aboutdimwindow.ui \
    addfeedwindow.ui \
    addgroupnotice.ui \
    addwindow.ui \
    aichatwindow.ui \
    attendstatus.ui \
    creategroupwindow.ui \
    custompushbutton.ui \
    customtextedit.ui \
    feeditem.ui \
    forgetpwdwindow.ui \
    framelesswindow.ui \
    groupchatwindow.ui \
    groupfileitem.ui \
    groupinfowindow.ui \
    groupmemberitem.ui \
    groupnoticeitem.ui \
    loginwindow.ui \
    mainui.ui \
    modifyinfowindow.ui \
    modifypwdwindow.ui \
    mylistwidgetitem.ui \
    myqqfacewindow.ui \
    mytablewidgetitem.ui \
    mytreewidgetitem.ui \
    noticeitem.ui \
    noticewindow.ui \
    pllistwindow.ui \
    privatechatwindow.ui \
    pyqwindow.ui \
    registerwindow.ui \
    widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    ../img/images.qrc

RC_ICONS = dragonICO.ico



win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../OpenCV4.x/opencv/build/x64/vc14/lib/ -lopencv_world455
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../OpenCV4.x/opencv/build/x64/vc14/lib/ -lopencv_world455d
else:unix: LIBS += -L$$PWD/../../../../../OpenCV4.x/opencv/build/x64/vc14/lib/ -lopencv_world455

INCLUDEPATH += $$PWD/../../../../../OpenCV4.x/opencv/build/include
DEPENDPATH += $$PWD/../../../../../OpenCV4.x/opencv/build/include
